<ul >
<% for object in @collection do -%>
  <li class="contact"><%= h eval( "object.#{@funcion}") %></li>
<% end -%>
</ul>